package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 tea_user
 *
 * @author xuzhisen
 * @date 2022-08-19
 */
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPwd;

    /** 头像 */
    @Excel(name = "头像")
    private String userPhoto;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserPwd(String userPwd)
    {
        this.userPwd = userPwd;
    }

    public String getUserPwd()
    {
        return userPwd;
    }
    public void setUserPhoto(String userPhoto)
    {
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto()
    {
        return userPhoto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPwd", getUserPwd())
            .append("userPhoto", getUserPhoto())
            .toString();
    }
}
